package com.dnndo.system.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.List;

/**
 * 用户对象 sys_user
 *
 * @author ruoyi
 */
@Data
@ApiModel("用户对象")
public class SysUserInsertDTO {

    /**
     * 用户昵称
     */
    @NotBlank(message = "用户昵称不能为空")
    @ApiModelProperty(value = "用户昵称",name = "nickName", required = true)
    private String nickName;

    /**
     * 手机号码
     */
    @NotBlank(message = "手机号码不能为空")
    @ApiModelProperty(value = "手机号码",name = "phonenumber", required = true)
    private String phonenumber;

    /**
     * 用户性别
     */
    @ApiModelProperty(value = "用户性别 0男 1女 2未知",name = "sex", required = true)
    private String sex;

    /**
     * 用户头像
     */
    @ApiModelProperty(value = "用户头像",name = "avatar", required = true)
    private String avatar;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码",name = "password", required = true)
    private String password;

    /**
     * 帐号状态（0正常 1停用）
     */
    @NotBlank(message = "帐号状态不能为空")
    @ApiModelProperty(value = "帐号状态（0正常 1停用）",name = "status", required = true)
    private String status;

  @NotBlank(message = "学校id状态不能为空")
  private String schoolId;

    //  @NotNull(message = "头衔不能为空")
    private Integer ranks;

    //  @NotBlank(message = "简介状态不能为空")
    private String briefIntroduction;
    private String briefIntroductionEn;

    private String imagePhoto;

    //  @NotNull(message = "角色不能为空")
    private List<Long> roleId;

    private List<Long> roles;


}
